import 'package:ecy_app_flutter/routes/goods/model/EcyGoodsSkuModel.dart';
import 'package:json_annotation/json_annotation.dart';
part 'EcyOrderPrePayResultModel.g.dart';

@JsonSerializable()
class EcyOrderPrePayResultModel {
  String? orderId;
  String? orderStr;
  EcyOrderPrePayResultModel(this.orderId, this.orderStr);

  // 从JSON创建User实例的工厂方法
  factory EcyOrderPrePayResultModel.fromJson(Map<String, dynamic> json) =>
      _$EcyOrderPrePayResultModelFromJson(json);

  // 将User实例转换为JSON的方法
  Map<String, dynamic> toJson() => _$EcyOrderPrePayResultModelToJson(this);
}
